package cn.yuanqiao.archive.danganzhengli.service;

import cn.yuanqiao.archive.danganzhengli.domain.YqdaOnlineReception;
import com.alibaba.fastjson2.JSONObject;

import java.io.File;
import java.util.List;

public interface IOnlineReceptionService {
    JSONObject saveArchivePackage(File file,Long id,Long categoryId,String tenantCode)throws Exception;

    List<YqdaOnlineReception> selectYqdaOnlineReceptionList(YqdaOnlineReception onlineReception);

    int insertOnlineReception(YqdaOnlineReception onlineReception);

    int updateYqdaOnlineReception(YqdaOnlineReception onlineReception);

    YqdaOnlineReception getOnlineReceptionById(Long id);

    Integer fqjssp(Long[] ids);

    int killOnlineReceive(Long id);

    int onlinereceiveBanjie(Long id);

    int deletePackage(Long id,int state);

    /**
     * @param id 接收单ID
     * @param siXingId 四性检测ID
     * @param siXingResult  四性检测结果   通过   不通过
     * @return
     */
    int saveSiXingResult(Long id,Long siXingId,String siXingResult);

    void sendPackageState(Long id, String result);
}
